/* Wrapper style */
.mpcalendarmain {  
    background: #FBFAF8;
    border: 1px solid #E7E7E7 !important;
    border-collapse: separate !important;
    border-spacing: 5px !important;
    border-radius: 30px 30px 30px 30px;
    color: #414141;
    font-size: small;
    margin: 20px auto;
    padding: 15px;
    width: 100%;
}
.mpcalendarmain > tbody:first-child > tr:first-child > td:first-child {
    border: 0 none !important;
    padding: 0;
}

/* Title */
.mpcalendartitle,
.eventcalheader { 
    background: none repeat scroll 0 0 transparent;
    font-size: 45px;
    font-weight: 300;
    line-height: 1.25em;
    text-align: center;
}
.mpcalendartitle td[align="center"] {
    text-align:center;
    -webkit-box-shadow: 0 20px 30px -35px #000000;
    -moz-box-shadow: 0 20px 30px -35px #000000;
    box-shadow: 0 20px 30px -35px #000000;
    vertical-align: middle;
    font-size: 35px;
    width: 80% !important;
    padding: 0 15px;
}

/* Next and Previous month buttons */
.mpcalendarnextprevious { 
    text-align: center; 
    width: 10% !important;
    vertical-align: middle;
}
.mpcalendarnextprevious a,
a.eventNextPrevious {
    background: #f7f7f7; /* Old browsers */
    background: -moz-linear-gradient(top,  #f7f7f7 0%, #e6e6e6 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f7f7f7), color-stop(100%,#e6e6e6)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #f7f7f7 0%,#e6e6e6 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #f7f7f7 0%,#e6e6e6 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #f7f7f7 0%,#e6e6e6 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #f7f7f7 0%,#e6e6e6 100%); /* W3C */
    border: 1px solid #e7e7e7 !important;
    border-radius: 50px;
    color: #5a4934 !important;
    display: inline-block;
    float: left;
    height: 55px;
    line-height: 51px;
    padding: 0;
    text-align; center;
    text-decoration: none;
    text-indent: 3px;
    width: 55px;
}
.mpcalendarnextprevious:first-child a {
    float: right;
    text-indent: -3px;
 }
.mpcalendarnextprevious a:hover,
a.eventNextPrevious:hover {
    background: #fbfbfb; /* Old browsers */
    background: -moz-linear-gradient(top,  #fbfbfb 0%, #f3f3f3 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fbfbfb), color-stop(100%,#f3f3f3)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  #fbfbfb 0%,#f3f3f3 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  #fbfbfb 0%,#f3f3f3 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  #fbfbfb 0%,#f3f3f3 100%); /* IE10+ */
    background: linear-gradient(to bottom,  #fbfbfb 0%,#f3f3f3 100%); /* W3C */
}

/* Day Headers */
.mpcalendardayheader { 
    background: none repeat scroll 0 0 transparent;
    border: 0 none !important;
    color: #999999;
    font-size: 14px;
    font-weight: 300;
    height: 25px;
    padding: 2px 5px;
    text-align: center;
    vertical-align: middle;
}

/* Day Number link */
.mpcalendarmain td.mpcalendarday > a:first-child,
.mpcalendarmain td.mpcalendarweekendday > a:first-child,
.mpcalendarmain td.mpcalendartoday > a:first-child,
.mpcalendarmain td.mpcalendarselectedday > a:first-child,
.mpcalendarmain td.mpcalendarothermonth > a:first-child {
    border-bottom: 0 none;
    border-radius: 20px 20px 0 0;
    -webkit-box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.14);
    box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.14);
    color: #999999 !important; /* Override hard coded color */
    display: block;
    font-size: 14px;
    height: 12px;
    padding: 7px 15px;
    text-decoration: none !important;
    text-align: right;
    -webkit-border-radius: 0;
}
.mpcalendarmain td.mpcalendarothermonth a:first-child {
    text-indent: -9999px;
    font-size: 0px;
    color: transparent;
}

/* Day wrappers */
.mpcalendarday, 
.mpcalendarweekendday, 
.mpcalendartoday, 
.mpcalendarselectedday,
.mpcalendarothermonth {
    background-color: #fff;
    border-radius: 20px;
    border: 1px solid #E7E7E7;
    height: 120px;
    position: relative;
    padding: 0;
    overflow: hidden;
}
.mpcalendarothermonth { 
    background-color:#F2F1EE;  
}

/* Today */
.mpcalendartoday {
    background: #D3CAB8;
    border: 1px solid #5A4934;
}
.mpcalendarmain td.mpcalendartoday > a:first-child {
    background: #5A4934;
    color: #fff !important;
    border-radius: 20px 20px 0 0;
    -webkit-border-radius: 17px 17px 0 0;
    box-shadow: 0 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 0 transparent;
}
.mpcalendarmain td.mpcalendartoday .eventcontainer {
    background: #fff;
    color: #5A4934;
    border: 1px solid #5A4934;
}
.mpcalendarmain td.mpcalendartoday .eventcontainer a {
    color: #5A4934 !important;
}

/* Event */
.eventcontainer {
    background: #D3CAB8;
    border: 1px solid #5A4934;
    border-radius: 20px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 400;
    margin: 10px;
    padding: 4px 10px;
}
.ie9 .eventcontainer,
.ie8 .eventcontainer,
.ie7 .eventcontainer {
    background-color: #D3CAB8 !important;
}
.mpcalendarmain td .eventcontainer a#editLink,
body .mpcalendarmain td .eventcontainer a:first-child {
    background: transparent;
    border: 0 none;
    border-radius: 0;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    display: inline;
    font-size: inherit;
    height: auto;
    padding: 0;
    text-decoration: none !important;
    text-align: inherit;
}
.eventcontainer a.eventlink {
    color: #5A4934 !important; /* Override hard coded color */
    text-decoration: none;
}
.eventcontainer a.eventlink:hover {
    text-decoration: underline;
}

/* ? */
.mpcalendarselector { 
    color: #414141; 
    background:  #B5B9A7; 
    border: solid thin #B5B9A7;
    font-weight: bold; 
    text-align: center;  
}
    
    
/* Event Calendar Pro specific */
.eventmonthview .mpcalendarmain {
    border-collapse: separate !important;
    border-spacing: 0px !important;
}
.eventmonthview .mpcalendarday, 
.eventmonthview .mpcalendarweekendday, 
.eventmonthview .mpcalendartoday, 
.eventmonthview .mpcalendarselectedday,
.eventmonthview .mpcalendarothermonth {
    height: auto !important;
    border-radius: 0 !important;
    border-left: 0 none;
    overflow: hidden;
}
.eventmonthview .mpcalendartoday {
    border-color: #E7E7E7;
}
.eventmonthview tr + tr + tr + tr .mpcalendarday, 
.eventmonthview tr + tr + tr + tr .mpcalendarweekendday, 
.eventmonthview tr + tr + tr + tr .mpcalendartoday, 
.eventmonthview tr + tr + tr + tr .mpcalendarselectedday,
.eventmonthview tr + tr + tr + tr .mpcalendarothermonth {
    border-top: 0 none;
}
.eventmonthview .mpcalendarday:first-child, 
.eventmonthview .mpcalendarweekendday:first-child, 
.eventmonthview .mpcalendartoday:first-child, 
.eventmonthview .mpcalendarselectedday:first-child,
.eventmonthview .mpcalendarothermonth:first-child {
    border-left: 1px solid #E7E7E7;
}
.eventcalheader {
    margin-bottom: 20px;
}
.eventcalheader tr[align="center"] td {
    text-align:center;
    width: 10% !important;
    vertical-align: middle;
    font-size: 35px;
}
.eventcalheader tr[align="center"] td a.eventNextPrevious {
    background: url('images/sprite_ECP.png') no-repeat -58px 0px;
    height: 57px;
    width: 57px;
    text-indent: -9999px;
    color: transparent;
    font-size: 0;
    border: 0 none !important;
    border-radius: 0px;
}
.eventcalheader tr[align="center"] td a.eventNextPrevious:hover {
    background-position: -58px -57px;
}
.eventcalheader tr[align="center"] td + td + td a.eventNextPrevious {
    background-position: 0px 0px;
    float: right;
}
.eventcalheader tr[align="center"] td + td + td a.eventNextPrevious:hover {
    background-position: 0px -57px;
}
.eventcalheader tr[align="center"] td + td {
    -webkit-box-shadow: 0 20px 30px -35px #000000;
    -moz-box-shadow: 0 20px 30px -35px #000000;
    box-shadow: 0 20px 30px -35px #000000;
    width: 80% !important;
    padding: 0 15px;
}
.eventcalheader tr[align="center"] td + td + td {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    width: 10% !important;
    padding: 0;
}
.eventcalheader tr[align="center"] td h3 {
    margin: 15px 0;
}
.eventmonthview .eventcontainer {
    border-radius: 0px;
    border: 1px solid #C6B699 !important;
    color: #5A4934 !important;
}
.eventmonthview .mpcalendarothermonth .dayNumber {
    background-color:#F5F5F5;
}
.eventmonthview .mpcalendartoday .dayNumber {
    background: #5A4934;
    color: #fff !important;
}
td.mpcalendarday[colspan="1"] .eventcontainer,
td.mpcalendarothermonth[colspan="1"] .eventcontainer,
td.mpcalendarweekendday[colspan="1"] .eventcontainer,
td.mpcalendarselectedday[colspan="1"] .eventcontainer,
td.mpcalendartoday[colspan="1"] .eventcontainer { /* Special style for events that only span one day */
    margin: 0 10px !important;
    border-radius: 10px;
}
.eventmonthview .mpcalendartoday .dayNumber a {
    color: #fff !important;
}
.dayNumber {
    background: #fff;
    border-bottom: 0 none;
    color: #999999 !important; /* Override hard coded color */
    display: block;
    font-size: 14px;
    height: 12px;
    padding: 7px 15px;
    text-decoration: none !important;
    text-align: right;
    position: relative;
    z-index: 1;
    box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.14);
    -moz-box-shadow: 0 -15px 15px 15px rgba(0, 0, 0, 0.14);
    -webkit-box-shadow: 0 5px 15px -4px rgba(0, 0, 0, 0.14); /* Different shadow for webkit rendering */
    margin-bottom: 15px;
}
.dayNumber a {
    border-radius: none;
    color: #999999 !important; /* Override hard coded color */
    text-decoration: none;
}
.dayNumber a:hover {
    text-decoration: underline;
}

.eventlistview .vevent { line-height:25px; }
.eventlistview a.summary.url { font-size:24px; float:left; clear:both; }
.eventlistview .location { float:left; clear:both; }
.eventlistview .eventdate { clear:both; }
.eventlistview .eventtime { float:left; clear:both;  }
.eventlistview .description { clear:both; line-height:normal; }
.eventlistview .timezone { float:left; clear:both; }

.eventweekview .eventmenu + div + table td:first-child div:first-child,
.eventdayview .eventmenu + div + table td:first-child div:first-child { margin-right:0px !important;}
.eventweekview .eventmenu + div + table td div div,
.eventdayview .eventmenu + div + table td div div { top:23px !important; }
.eventtimelineview .timeline-event-label { font-size:18px; line-height:26px; }

/* Ie7 */
.ie7 .eventmonthview .mpcalendarmain,
.ie8 .eventmonthview .mpcalendarmain {
    border-collapse: collapse !important;
    border-spacing: 0px !important;
}
.ie7 .eventmonthview .mpcalendarday, 
.ie7 .eventmonthview .mpcalendarweekendday, 
.ie7 .eventmonthview .mpcalendartoday, 
.ie7 .eventmonthview .mpcalendarselectedday,
.ie7 .eventmonthview .mpcalendarothermonth {
    border: 1px solid #E7E7E7;
}
.ie7 .eventmonthview tr + tr + tr + tr .mpcalendarday, 
.ie7 .eventmonthview tr + tr + tr + tr .mpcalendarweekendday, 
.ie7 .eventmonthview tr + tr + tr + tr .mpcalendartoday, 
.ie7 .eventmonthview tr + tr + tr + tr .mpcalendarselectedday,
.ie7 .eventmonthview tr + tr + tr + tr .mpcalendarothermonth {
    border: 1px solid #E7E7E7;
}
.ie7 .eventmonthview .mpcalendarday:first-child, 
.ie7 .eventmonthview .mpcalendarweekendday:first-child, 
.ie7 .eventmonthview .mpcalendartoday:first-child, 
.ie7 .eventmonthview .mpcalendarselectedday:first-child,
.ie7 .eventmonthview .mpcalendarothermonth:first-child {
    border: 1px solid #E7E7E7;
}

/* jQuery active fix */
.js-active.eventmonthview .mpcalendarmain {
    border-collapse: separate !important;
    border-spacing: 5px 0 !important;
}
.ie7 .js-active .eventmonthview .mpcalendarmain,
.ie8 .js-active .eventmonthview .mpcalendarmain {
    border-collapse: collapse !important;
    border-spacing: 0px !important;
}
.js-active.eventmonthview .mpcalendarmain tbody tr.firstrow td {
    overflow:hidden;    
}
.js-active.eventmonthview .mpcalendarmain tbody tr.firstrow td,
.js-active.eventmonthview .mpcalendarmain .dayNumber {
    border-radius: 20px 20px 0 0 !important;
}
.js-active.eventmonthview .mpcalendarmain tbody tr.beforelast td {
    border-radius: 0 0 20px 20px !important;
    height: 20px !important;
}
.js-active.eventmonthview .mpcalendarmain tbody tr.lastrow {
    display: block;
    margin-bottom: 5px;
}
.ie9 .js-active.eventmonthview .mpcalendarmain tbody tr.lastrow td {
    padding-top: 5px;
    visibility: hidden;
    display: block;
}
.js-active.eventmonthview .mpcalendarday, 
.js-active.eventmonthview .mpcalendarweekendday, 
.js-active.eventmonthview .mpcalendartoday, 
.js-active.eventmonthview .mpcalendarselectedday,
.js-active.eventmonthview .mpcalendarothermonth {
    border: 1px solid #E7E7E7;
    position: relative;
    padding: 0;
    overflow: hidden;
}
.js-active.eventmonthview tr + tr + tr + tr .mpcalendarday, 
.js-active.eventmonthview tr + tr + tr + tr .mpcalendarweekendday, 
.js-active.eventmonthview tr + tr + tr + tr .mpcalendartoday, 
.js-active.eventmonthview tr + tr + tr + tr .mpcalendarselectedday,
.js-active.eventmonthview tr + tr + tr + tr .mpcalendarothermonth {
    border-top: 1px solid #E7E7E7;
}
.js-active.eventmonthview .mpcalendarday:first-child, 
.js-active.eventmonthview .mpcalendarweekendday:first-child, 
.js-active.eventmonthview .mpcalendartoday:first-child, 
.js-active.eventmonthview .mpcalendarselectedday:first-child,
.js-active.eventmonthview .mpcalendarothermonth:first-child {
    border-left: 1px solid #E7E7E7;
}
/*.mpcalendarmain {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #E0E6EA !important;
    border-collapse: separate !important;
    border-radius: 30px 30px 30px 30px;
    border-spacing: 5px;
    font-size: 14px;
    padding: 15px;
    width: 100%;
}
.mpcalendarmain td {
    padding: 0;
}
.mpcalendarothermonth,
.mpcalendarweekendday,
.mpcalendarday,
.mpcalendartoday {
    border-color: #FFF;
    border-left: 1px solid #E0E6EA;
    border-right: 1px solid #E0E6EA;
    border-spacing: 12px;
    padding: 0;
}
.mpcalendarmain > tbody > tr:nth-child(3n) td {
    background-color: #FFFFFF;
    border-left: 1px solid #E0E6EA;
    border-right: 1px solid #E0E6EA;
    border-top: 1px solid #E0E6EA;
    border-radius: 20px 20px 0 0;
    border-style: solid;
    border-width: 1px 1px 0 !important;
    height: 25px;
    position: relative;
}
.mpcalendarmain > tbody > tr:nth-child(3n) td:after {
    border-color: #FFF;
    border-left: 1px solid #E0E6EA;
    border-right: 1px solid #E0E6EA;
    box-shadow: 0 10px 10px -10px rgba(0, 0, 0, 0.2) inset;
    content: "";
    display: block;
    height: 15px;
    margin: 0 -1px -10px;
    width: 100%;
}
.mpcalendarmain > tbody > tr:nth-child(3n+5) td {
    border-bottom: 1px solid #E0E6EA;
    border-left: 1px solid #E0E6EA;
    border-right: 1px solid #E0E6EA;
    border-radius: 0 0 20px 20px;
    height: 25px;
    padding: 0;
}
.mpcalendarmain > tbody > tr:nth-child(3n+5) td:before {
    border-color: #FFF;
    border-left: 1px solid #E0E6EA;
    border-right: 1px solid #E0E6EA;
    content: "";
    display: block;
    height: 15px;
    margin: -10px -1px 0;
}
.dayNumber {
    padding: 2px 16px;
}
.dayNumber > a {
    color: #999999;
    line-height: 1.5em;
    text-decoration: none;
}*/